﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="view_subscribers.aspx.cs" Inherits="btnet.pages.view_subscribers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title id="titl" runat="server">btnet view subscribers</title>
<link rel="StyleSheet" href="btnet.css" type="text/css">
<script type="text/javascript" language="JavaScript" src="sortable.js"></script>
</head>

<body width=600>
<div class=align>
Subscribers for <% Response.Write(Convert.ToString(bugid)); %>
<p>

<table border=0><tr><td>
<form id="Form1" class=frm runat="server" action="view_subscribers.aspx">
<table>
<tr><td><span class=lbl>add subscriber:</span>

<asp:DropDownList id="userid" runat="server">
</asp:DropDownList>

<tr><td colspan=2><input class=btn type=submit value="Add">
<tr><td colspan=2>&nbsp;<span runat="server" class='err' id="add_err"></span>
</table>
<input type=hidden name="id" value=<% Response.Write(Convert.ToString(bugid));%>>
<input type=hidden name="actn" value="add">

</form>
</td></tr></table>

<%
if (ds.Tables[0].Rows.Count > 0)
{
	SortableHtmlTable.create_from_dataset(
		Response, ds, "", "", false);

}
else
{
	Response.Write ("No subscribers for this bug.");
}
%>
</div>
</body>
</html>
